import { BaseEntity } from '@libs/common/entities';
import { Column, Entity, Index } from 'typeorm';

// @Index('aaa_bbb_ccc', ['aaa', 'bbb', 'ccc'], { unique: true })
@Entity('crm_node_hr_access_log')
export class AccessLog extends BaseEntity {
  @Column({ comment: 'userId' })
  userId: String;

  @Column({ comment: '用户名' })
  userName: String;

  @Column({ comment: '接口' })
  url: String;
}
